//
//  BaseWebViewController.swift
//  手账
//
//  Created by zhuxiaoxiang on 2018/12/24.
//  Copyright © 2018年 zhuxiaoxiang. All rights reserved.
//

import UIKit
import WebKit

class BaseWebViewController: BaseViewController {

    fileprivate lazy var webView: WKWebView = {
       let one = WKWebView(frame: self.view.bounds)
        return one
    }()
    
    var url: String = "http://www.baidu.com"
    
    override func viewDidLoad() {
        super.viewDidLoad()
        configBackItem()
        let request = URLRequest(url: URL(string: url)!)
        self.webView.load(request)
        self.view.addSubview(self.webView)
    }

}
